package com.sy.util;

public class Const {

    // 配置文件地址
    public static final class MailPath {
        public static final String smtpPath = "src/main/resources/smtpMail";
        public static final String popPath = "src/main/resources/popMail";
        public static final String imapPath = "src/main/resources/imapMail";
    }

    // 阿里云的key
    public static final class AlipayConfig{
        public static final String ACCESSKEYID = "LTAIKGUCGGUPHl0C";
        public static final String ACCESSKEYSECRET = "Xqnan9ws5YvztYE7rhst96TYRHoixo";
    }

    public static final class OSSConfig{
        public static final String BUCKET = "resume-annex";
        // 外网地址
//        public static final String ENDPOINT = "oss-cn-hangzhou.aliyuncs.com";
//        public static final String IMGPATH = "https://resume-annex.oss-cn-hangzhou.aliyuncs.com/";
        // 内网地址
        public static final String ENDPOINT = "oss-cn-hangzhou-internal.aliyuncs.com";
        public static final String IMGPATH = "https://resume-annex.oss-cn-hangzhou-internal.aliyuncs.com/";
    }

    // 文件上传路径
    public static final class OSSPath{
        public static final String RESUME = "resume/";
        public static final String PROPERTIES = "properties/";
    }

    public static final class Cron{
        public static final String TENSECOND = "*/10 * * * * ?";
        public static final String ONEMINTH = "0 */1 * * * ?";
        public static final String FIVEMINTH = "0 */5 * * * ?";
        public static final String ONEHOUR = "0 0 */1 * * ?";
        public static final String THREEHOUR = "0 0 */3 * * ?";
    }

    public static final class SenderMail{
        public static final String BOOS[] = {"BOSS直聘 <cv@service.bosszhipin.com>", "BOSS直聘 <cv@service.kanzhun.com>"};
    }
}
